<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateThirdpartyProfessionalListsTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('thirdparty_professional_list', function(Blueprint $table)
		{
			$table->increments('id');
			$table->timestamps();


			//int 11 与tyw_thirdparty_industry中的id相关联
			$table->integer('industry_id');
			//varchar 20 姓名
			$table->string('real_name');
			//tinyint 3 性别 0女 1男
			$table->tinyInteger('gender');
			//varchar 255 学历
			$table->string('education');
			//varchar 255 专业
			$table->string('profession');
			//varchar 255 职称
			$table->string('job');
			$table->softDeletes();

		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('thirdparty_professional_lists');
	}

}
